package com.itheima.bigevent.service;

import com.itheima.bigevent.pojo.Category;

import java.util.List;

/**
 * ClassName: CategoryService
 * Package: com.itheima.bigevent.service
 * Description:分类
 *
 * @Author: Zhang Peiyuan
 * @Create: 2024-08-20-16:01
 * @Version: v1.0
 */
public interface CategoryService {
    Integer add(Category category);
    List<Category> queryList();
    List<Category> queryListAll();
    Category queryById(Integer id);

    Integer update(Category category);

    Integer deleteById(Integer id);
}
